package com.supersonic.backend.model;

import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
@Entity
public class Net extends CommonFieldModel{

	@ManyToOne(cascade = CascadeType.ALL,fetch=FetchType.LAZY)
	private Logistics logistics;

	private String inChargePerson;

	@OneToOne(cascade = CascadeType.ALL,fetch=FetchType.LAZY)
	private Address address;

	@Column(length=4000)
	private String availableArea;

	private String netId;

	@Column(length=4000)
	private String orderTel;

	@Column(length=4000)
	private String enquiryTel;

	private String faxTel;

	@Column(length=4000)
	private String unavailableArea;

	/**
	 * @return the logistics
	 */
	public Logistics getLogistics() {
		return logistics;
	}

	/**
	 * @param logistics the logistics to set
	 */
	public void setLogistics(Logistics logistics) {
		this.logistics = logistics;
	}

	/**
	 * @return the inChargePerson
	 */
	public String getInChargePerson() {
		return inChargePerson;
	}

	/**
	 * @param inChargePerson the inChargePerson to set
	 */
	public void setInChargePerson(String inChargePerson) {
		this.inChargePerson = inChargePerson;
	}

	/**
	 * @return the address
	 */
	public Address getAddress() {
		return address;
	}

	/**
	 * @param address the address to set
	 */
	public void setAddress(Address address) {
		this.address = address;
	}

	/**
	 * @return the availableArea
	 */
	public String getAvailableArea() {
		return availableArea;
	}

	/**
	 * @param availableArea the availableArea to set
	 */
	public void setAvailableArea(String availableArea) {
		this.availableArea = availableArea;
	}

	/**
	 * @return the netId
	 */
	public String getNetId() {
		return netId;
	}

	/**
	 * @param netId the netId to set
	 */
	public void setNetId(String netId) {
		this.netId = netId;
	}

	/**
	 * @return the orderTel
	 */
	public String getOrderTel() {
		return orderTel;
	}

	/**
	 * @param orderTel the orderTel to set
	 */
	public void setOrderTel(String orderTel) {
		this.orderTel = orderTel;
	}

	/**
	 * @return the enquiryTel
	 */
	public String getEnquiryTel() {
		return enquiryTel;
	}

	/**
	 * @param enquiryTel the enquiryTel to set
	 */
	public void setEnquiryTel(String enquiryTel) {
		this.enquiryTel = enquiryTel;
	}

	/**
	 * @return the faxTel
	 */
	public String getFaxTel() {
		return faxTel;
	}

	/**
	 * @param faxTel the faxTel to set
	 */
	public void setFaxTel(String faxTel) {
		this.faxTel = faxTel;
	}

	/**
	 * @return the unavailableArea
	 */
	public String getUnavailableArea() {
		return unavailableArea;
	}

	/**
	 * @param unavailableArea the unavailableArea to set
	 */
	public void setUnavailableArea(String unavailableArea) {
		this.unavailableArea = unavailableArea;
	}

}
